<!DOCTYPE html>
<html lang="en">
<html lang="en" xmlns:th="http://www.thymeleaf.org"/>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1> welcome to index</h1>
    <table border="1">
        <tr>
            <th>Id</th>
            <th>姓名</th>
            <th>密码</th>
        </tr>
        <tr th:each="list:${list}">
            <td th:text="${list.userid}"></td>
            <td th:text="${list.username}"></td>
            <td th:text="${list.password}"></td>

        </tr>
    </table>
</body>
</html>